import { createApp,provide } from 'vue'
import Vant from 'vant';
import 'vant/lib/index.css';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import { Modal,message } from 'ant-design-vue';

import App from './App.vue'
import './index.css'
import router from './router/index'
import vuex from './store/index'
import './api/mock'


localStorage.setItem("token","A4CE4E6AEA4145DA905DBBA349C81BA4")
const app = createApp(App)
app.config.globalProperties.Modal = Modal;
app.provide('$Modal', Modal);
app.provide('$Message', message);
app.provide('$router', router);
app.use(Antd);
app.use(router)
app.use(vuex)
app.use(Vant)
app.mount("#app")

